package com.ruoyi.system.service.impl;

import com.ruoyi.system.domain.MidPlanAssess;
import com.ruoyi.system.mapper.MidPlanAssessMapper;
import com.ruoyi.system.service.IMidPlanAssessService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

@Service
public class MidPlanAssessServiceImpl implements IMidPlanAssessService {
    @Autowired
    private MidPlanAssessMapper midPlanAssessMapper;

    @Override
    public int insert(MidPlanAssess record) {
        return midPlanAssessMapper.insertSelective(record);
    }

    @Override
    public int delete(Long id) {
        return midPlanAssessMapper.deleteByPrimaryKey(id);
    }
}
